package cn.iocoder.yudao.module.cmt.controller.admin.base.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 商户员工分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class BaseMerchantStaffPageReqVO extends PageParam {

    @Schema(description = "社区ID", example = "1")
    private Long communityId;

    @Schema(description = "商户ID", example = "1")
    private Long merchantId;

    @Schema(description = "会员ID", example = "1")
    private Long userId;

    @Schema(description = "员工姓名", example = "张三")
    private String staffName;

    @Schema(description = "员工电话", example = "13800138000")
    private String staffPhone;

    @Schema(description = "角色：1普通员工 2管理员 3超级管理员", example = "1")
    private Integer role;

    @Schema(description = "状态：0离职 1在职", example = "1")
    private Integer staffStatus;

    @Schema(description = "状态：0停用 1启用", example = "1")
    private Integer status;

    @Schema(description = "加入时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] joinTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
